package org.springcloud.wisdom.springcloud_03_freshman.student.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springcloud.wisdom.springcloud_03_freshman.student.entity.Dormitory;

@Mapper
public interface DormitoryDao {
    //根据id查某人住的宿舍在哪er
    @Select("select * from dormitory where id=#{id}")
    public Dormitory getDormitory(Integer id);
}
